﻿#region
/*******************************************************************************
** File Name:		    IAdminUser.cs
** Creator:		        chao.jiang 
** EMail:               chao.jiang 
** Create date:	        
** Latest Modifier:
** Latest Modify date:
** Description:		    
** Modify History:
**
** Code Review:
**
** Version number:       1.0.0
*********************************************************************************/
#endregion
using System;
using System.Data;
using System.Collections.Generic;
using EWineShop.Entity;
namespace EWineShop.Respository
{
    public interface IAdminUser
    {
        #region  Auto Generation

        void AddAdminUser(EAdminUser adminUser);

        void UpdateByUserID(EAdminUser adminUser);

        void DeleteByUserID(System.Int64 userID);

        EAdminUser GetByUserID(System.Int64 userID);

        IList<EAdminUser> GetAll();

        #endregion

        EAdminUser GetByUserName(string userName);
    }
}